﻿@model WordpressDemo.Models.SignInViewModel
@{
    ViewBag.Title = "Signing in";
}

<header><h1>Signing in</h1></header>

<p>
    Great stuff you signed in into Wordpress!
</p>
<p>We now need to fetch a token from Wordpress</p>
<p>Please provide me with the following details:</p>

@using (Html.BeginForm())
{
    <fieldset>
        <legend>Wordpress App</legend>
        <p>
            Client ID:
            @Html.TextAreaFor(m => m.ClientID)
        </p>
        <p>
            Client Secret:
            @Html.TextAreaFor(m => m.ClientSecret)
        </p>
        @Html.HiddenFor(m => m.AuthenticationCode)
        <p />

        <input type="submit" value="Fetch token" />
    </fieldset>
}